package com.exchange.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author : RulerWood
 * @Data : 2024/4/26 - 15:41
 */
@Data
public class StarsAddressVo implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long mid;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long uid;

    private String address;
    @TableField(value = "lat")
    private BigDecimal latitude;
    @TableField(value = "lon")
    private BigDecimal longitude;
}
